# -*- coding: utf-8 -*-
"""
 @Time    : 2021/1/19 下午6:40
 @Author  : tgy
 
"""

prices = {
    'ACME': 45.23,
    'AAPL': 612.78,
    'IBM': 205.55,
    'HPQ': 37.20,
    'FB': 10.75
}

def test01():
    ...
    f_v = {k: v for k, v in prices.items() if v > 40}
    print(f_v)


if __name__ == '__main__':
    ...
    test01()